import axios from 'axios'
export default {
  getDetail (catelogid, params) {
    return axios.get('/api/course/homeworks/bycatelogid/' + catelogid, {
      params: params
    })
  },
  getList (homeworkId, studentId) {
    return axios.get(`/api/course/homeworks/${homeworkId}/homeworkvideos?from=0&size=10&studentid=${studentId}`)
  }
}
